package com.example.userservice.feign;

import com.example.userservice.dto.OperationLogDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "Logging-Service", path = "/logging")
public interface UserServiceFeignClient2 {
    @PostMapping ("/insert")
    void insert(@RequestBody OperationLogDTO operationLog);
}
